<style>
    #page .liste-elements.payments .caption {
        /*background-image: url('#CHEMIN{prive/themes/spip/images/alohacart_payment_22x22.png}');*/
    }
</style>
    <!--#navigation-->
    <div class="box info">
        <div class="inner">
            <div class="bd">
                Здесь вы можете управлять способами оплаты.
            </div>
        </div>
    </div>
    
    [(#REM) <INCLURE{fond=prive/inc/alohacart_payments_left_navigation}> ]
    
    <!--/#navigation-->
    <!--#extra-->
        <!--Some extra content in the extra column.--> 
    <!--/#extra-->


    <h1><:alohacart:payments:></h1>
    
    <?php
    include_spip("functions/pdk_presentation");
    echo pdk_dropdown_box(
        _T('alohacart:payments_info'), 
        "payments_info_block", 
        recuperer_fond('prive/exec/alohacart_payments_configurer'),
        ''
        );
    ?>
    
<p> 
[<p class="reponse_formulaire reponse_formulaire_ok">(#PDK_MESSAGE_OK)</p>]
[<p class="reponse_formulaire reponse_formulaire_erreur">(#PDK_MESSAGE_ERROR)</p>]
    
<B_payments>
#ANCRE_PAGINATION

<div class="liste-elements payments">
<table class='spip liste'>
<caption><strong class="caption"><:alohacart:payments_list:></strong></caption>
	<thead>
		<tr class='first_row'>
		<th><a href="#URL_ECRIRE{alohacart_payments}&order=id_extension[&sort_order=(#ENV{sort_order}|=={1}|?{0,1})]">ID</a></th>
        <th><a href="#URL_ECRIRE{alohacart_payments}&order=titre[&sort_order=(#ENV{sort_order}|=={1}|?{0,1})]"><:alohacart:titre:></a></th>
        <th><a href="#URL_ECRIRE{alohacart_payments}&order=code[&sort_order=(#ENV{sort_order}|=={1}|?{0,1})]"><:alohacart:payment_code:></a></th>
        <th><a href="#URL_ECRIRE{alohacart_payments}&order=active[&sort_order=(#ENV{sort_order}|=={1}|?{0,1})]"><:alohacart:active:></a></th>
        <th></th>        
		</tr>
	</thead>
	<tbody>
	<BOUCLE_payments(spip_alohacart_extensions){type=payment}{pagination 50}
        {tri #ENV{order, code}}{inverse #ENV{sort_order, 0}}>
		<tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
            <td class='id_currency'>#ID_EXTENSION</td>             			
            <td class='titre'><a href="#URL_ECRIRE{alohacart_payment_edit, id_extension=#ID_EXTENSION}">#TITRE</a></td>
            <td class='code'><a href="#URL_ECRIRE{alohacart_payment_edit, id_extension=#ID_EXTENSION}">#CODE</a></td>						
            <td class='active'>
                [(#ACTIVE|=={1}|?{<:alohacart:active_yes:>, <:alohacart:active_no:>})]                
            </td>            
            <td><a href="#URL_ECRIRE{alohacart_payment_edit, id_extension=#ID_EXTENSION}"><:alohacart:edit:></a></td>            
		</tr>
	</BOUCLE_payments>
	</tbody>
</table>
[<p class='pagination'>(#PAGINATION{prive})</p>]
</div>
</B_payments>
<div class="liste-elements payments"><strong class="caption"><:alohacart:no_payments:></strong></div>
<//B_payments>
</p>